<!DOCTYPE html>
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>编辑用户</title>
    <link  th:replace="header::head">
</head>
<body>
<div class="col-sm-5">
    <div>
        <div class="form-group">
            <label>用户名</label>
            <input type="text" class="form-control" name="username" aria-describedby="usernameHelp" v-model="user.username">
            <small id="usernameHelp" class="form-text text-muted">请输入用户名</small>
        </div>
        <div class="form-group">
            <label for="password">密码</label>
            <input type="password" name="password" class="form-control" id="password" v-model="user.password">
        </div>
        <div class="form-group">
            <label >地址</label>
            <input type="text" name="address" class="form-control" v-model="user.address">
        </div>
        <button type="button" @click="saveUser()" class="btn btn-primary">提交</button>
    </div>
</div>
</body>
</html>